﻿#include "logistics.h"
#include <QApplication>

#include "g_function.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    if(argc == 2)
    {
        if(sp_parseCommand(argv[1]))
            return EXIT_SUCCESS;
    }
    else
        sp_createRunFile();

    Logistics w;
    w.show();

    return a.exec();
}
